package com.jxlg.web;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;


public class Bosh implements Serializable {
    private int id;
    private String name;
    private List<Wife> list;

    public void setList(List<Wife> list) {
        this.list = list;
    }
    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public List<Wife> getList() {
        return list;
    }

    public void setId(int id) {
        this.id = id;
    }
}
